<template name="uploadImage">
	<view class="p-4" @click="changeImg">
		<image :src="image" class="img" mode="widthFix"></image>
	</view>
</template>

<script>
	export default{
		name:"uploadImage",
		props:{
			image:{
				type:String,
				value:'',
			}
		},
		data() {
			return {
		
			}
		},
		methods:{
			changeImg(){
				this.$emit("changeImg");
			}
		}
	}
</script>

<style>
</style>
